﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;

namespace CoreRp.Db_Models
{
    /// <summary>
    /// 全局配置表
    /// </summary>
    [Index("IDX_RAP_CONFIG", "CODE,BELONG,COMPANYCODE", IsUnique = true)]
    public class RAP_CONFIG
    {
        /// <summary>
        /// 代码
        /// </summary>
        public string CODE { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string NAME { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public string VALUE { get; set; }
        /// <summary>
        /// 所属类型
        /// </summary>
        public string BELONG { get; set; }
        /// <summary>
        /// 企业代码
        /// </summary>
        public string COMPANYCODE { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARK { get; set; }
        /// <summary>
        /// 是否可用，Y/N
        /// </summary>
        public string ENABLE { get; set; }
    }
}
